.class Lcom/instagram/android/widget/ai;
.super Ljava/lang/Object;
.source "ShareTableHelper.java"

# interfaces
.implements Lcom/instagram/android/widget/h;


# instance fields
.field final synthetic a:Lcom/instagram/model/a/b;

.field final synthetic b:Lcom/instagram/android/widget/ag;


# direct methods
.method constructor <init>(Lcom/instagram/android/widget/ag;Lcom/instagram/model/a/b;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 200
    iput-object p1, p0, Lcom/instagram/android/widget/ai;->b:Lcom/instagram/android/widget/ag;

    iput-object p2, p0, Lcom/instagram/android/widget/ai;->a:Lcom/instagram/model/a/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/instagram/android/widget/IgCheckButton;Z)V
    .locals 3
    .parameter
    .parameter

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 204
    if-nez p2, :cond_0

    .line 205
    iget-object v0, p0, Lcom/instagram/android/widget/ai;->a:Lcom/instagram/model/a/b;

    invoke-interface {v0, v1}, Lcom/instagram/model/a/b;->a(Z)V

    .line 217
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/widget/ai;->b:Lcom/instagram/android/widget/ag;

    invoke-static {v0}, Lcom/instagram/android/widget/ag;->c(Lcom/instagram/android/widget/ag;)V

    .line 218
    return-void

    .line 209
    :cond_0
    invoke-static {}, Lcom/instagram/android/u/a;->a()Z

    move-result v0

    if-nez v0, :cond_1

    .line 210
    invoke-virtual {p1, v1}, Lcom/instagram/android/widget/IgCheckButton;->setChecked(Z)V

    .line 211
    iget-object v0, p0, Lcom/instagram/android/widget/ai;->b:Lcom/instagram/android/widget/ag;

    invoke-static {v0}, Lcom/instagram/android/widget/ag;->b(Lcom/instagram/android/widget/ag;)Lcom/instagram/e/b/b;

    move-result-object v0

    invoke-static {v0, v2}, Lcom/instagram/android/activity/TwitterAuthActivity;->a(Landroid/support/v4/app/Fragment;I)V

    goto :goto_0

    .line 213
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/widget/ai;->a:Lcom/instagram/model/a/b;

    invoke-interface {v0, v2}, Lcom/instagram/model/a/b;->a(Z)V

    goto :goto_0
.end method
